From: Fabian Grünbichler Date: Mon, 13 Apr 2026 12:22:57 +0000 (+0200) Subject: tests: skip rust-analyzer on most targets X-Git-Tag: archive/raspbian/1.95.0+dfsg1-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=ebb9e5c277106a9e9f2a4a327cfa841d7fbdc496;p=rustc.git tests: skip rust-analyzer on most targets upstream only tests (a subset of) 64-bit, but bootstrap has no filtering for target width for now.. these two platforms probably cover where rust-analyzer is used in practice. Forwaded: not-needed Signed-off-by: Fabian Grünbichler Gbp-Pq: Topic build Gbp-Pq: Name tests-skip-rust-analyzer-on-most-targets.patch --- diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 33cc4d5c0d..72359b6bdd 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -477,7 +477,8 @@ impl Step for RustAnalyzer { // FIXME: eventually, we should probably reduce the amount of target tuple substring // matching in bootstrap. - if target.starts_with("i686") { + // Debian: invert and only test these two, instead of skipping only 32-bit x86 + if (!target.starts_with("x86_64") && !target.starts_with("aarch64")) || target.contains("hurd") { return; }